package com.ygqh.baby.po;

import java.util.Date;

import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.JobStatus;

public class AdminAbnormalLogistics {
	private Long id;

	private String logisticsCode;

	private String resultMsg;

	private String remark;

	private Date createTime;

	private String createBy;

	private Date updateTime;

	private String updateBy;

	private JobStatus jobStatus;

	private DataStatus status;

	public AdminAbnormalLogistics() {
		super();
	}

	/**
	 * 新增记录
	 * 
	 * @Title:
	 * @param logisticsCode
	 * @param remark
	 * @param createBy
	 *            入参
	 */
	public AdminAbnormalLogistics(String logisticsCode, String remark, String createBy) {
		super();
		this.logisticsCode = logisticsCode;
		this.remark = remark;
		this.createBy = createBy;
		this.createTime = new Date();
		this.updateBy = createBy;
		this.updateTime = this.createTime;
	}

	public String getJobStatusStr() {
		return this.jobStatus.getTitle();

	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLogisticsCode() {
		return logisticsCode;
	}

	public void setLogisticsCode(String logisticsCode) {
		this.logisticsCode = logisticsCode == null ? null : logisticsCode.trim();
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg == null ? null : resultMsg.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy == null ? null : createBy.trim();
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy == null ? null : updateBy.trim();
	}

	public JobStatus getJobStatus() {
		return jobStatus;
	}

	public void setJobStatus(JobStatus jobStatus) {
		this.jobStatus = jobStatus;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

}